W3.CSS
Fraime autoplay do youtube
É só colocar esse código ?autoplay=1&mute=1&enablejsapi=1 depois da iteração.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
<iframe {
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/yoMzChtLDC0?si=QfCQba5E0Slm6uYa" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Colocando código "?autoplay=1&mute=1&enablejsapi=1"👇.
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/yoMzChtLDC0?autoplay=1&mute=1&enablejsapi=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</body>
</html>